\hypertarget{classai_1_1_random_a_i}{
\section{ai.RandomAI Class Reference}
\label{classai_1_1_random_a_i}\index{ai::RandomAI@{ai::RandomAI}}
}


Makes random moves.  


Inheritance diagram for ai.RandomAI:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classai_1_1_random_a_i}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classai_1_1_random_a_i_a2dbf7a0ad2101d1e76a07eb91ac6f354}{getAction} (\hyperlink{classrts_1_1_game_state}{GameState} gs, int time\_\-limit)
\item 
String \hyperlink{classai_1_1_random_a_i_ae0a37eac79366a715a7f7eddad03f2be}{getLabel} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Makes random moves. 

\subsection{Member Function Documentation}
\hypertarget{classai_1_1_random_a_i_a2dbf7a0ad2101d1e76a07eb91ac6f354}{
\index{ai::RandomAI@{ai::RandomAI}!getAction@{getAction}}
\index{getAction@{getAction}!ai::RandomAI@{ai::RandomAI}}
\subsubsection[{getAction}]{\setlength{\rightskip}{0pt plus 5cm}void ai.RandomAI.getAction (
\begin{DoxyParamCaption}
\item[{{\bf GameState}}]{gs, }
\item[{int}]{time\_\-limit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classai_1_1_random_a_i_a2dbf7a0ad2101d1e76a07eb91ac6f354}
Requests actions from the \hyperlink{classai_1_1_a_i}{AI} 
\begin{DoxyParams}{Parameters}
{\em gs} & the game state \\
\hline
{\em time\_\-limit} & how many milliseconds this turn is \\
\hline
\end{DoxyParams}


Implements \hyperlink{classai_1_1_a_i_ac99863ed57cf48013d00267919044ef2}{ai.AI}.

\hypertarget{classai_1_1_random_a_i_ae0a37eac79366a715a7f7eddad03f2be}{
\index{ai::RandomAI@{ai::RandomAI}!getLabel@{getLabel}}
\index{getLabel@{getLabel}!ai::RandomAI@{ai::RandomAI}}
\subsubsection[{getLabel}]{\setlength{\rightskip}{0pt plus 5cm}String ai.RandomAI.getLabel (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classai_1_1_random_a_i_ae0a37eac79366a715a7f7eddad03f2be}
Allows the agent to label itself \begin{DoxyReturn}{Returns}
a label 
\end{DoxyReturn}


Reimplemented from \hyperlink{classai_1_1_a_i_a88d898fe81c137f04c130acfe9575851}{ai.AI}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
src/ai/\hyperlink{_random_a_i_8java}{RandomAI.java}\end{DoxyCompactItemize}
